﻿@using CodeCamp.Models.Home
@model HomeIndexViewModel


    @if (Model.SubmissionsOpen)
    {
    <div style="border-width:4px;border-style:double;border-color:#5E9DBA;width:600px;margin-top:5px;margin-bottom:5px;padding:5px;text-align:center;">
        <h3>Session Submissions are open</h3>
        <p>Session submissions are open until the end of the day on Friday, February 22.  Click on the "Sessions" tab above to see what's already been submitted and a list of suggested topics.</p>
        <h3>Want to submit a session?</h3>
        <p>Click on "Creating a site account" or "Signing in" under Presenters on the right.  Then create your presenter profile for CC19, and you're ready to submit session proposals.</p>
        <p>Your sessions proposals will show up in the Sessions tab after you've completed your submissions.  You'll hear back from the organizers within a few days of submitting your session proposals with more information.
        Session selection will happen over the weekend of February 23rd, and you'll hear back during that weekend.</p>
        <h3>Want to know what happened in the past?</h3>
        <p>Click on the "About" tab above, and under that, "@Html.ActionLink("Other Boston Code Camps", "OtherCCEvents", "Home", new { eventname = @Model.EventShortName }, null)".</p>
    </div>
    }

    <div class="newsHeading">Welcome</div>
    <p>This coming (almost) spring, the Greater Boston development community will unite again for the 19th outstanding community-based software (un-)conference like no other.</p>
    <p>
      Code Camp brings regional software development professionals together for the opportunity to immerse themselves in seminars,
      presentations, group exploration, and networking.
      Participants will be able to engage in their preferred technology, as well as to sample other options,
      with a focus on extending information exchange and enhancing the cross pollination of ideas.
      Mark your calendar! 
      <b>Boston Code Camp 19</b> is scheduled for <b>@Model.DisplayDate</b> at <a href="http://microsoftcambridge.com" target="_blank">@Model.DisplayLocation</a>.
    </p>
    <p><b>NERD</b> is at <a href="http://www.bing.com/maps/Default.aspx?q=One Memorial Drive, Cambridge, MA 02142" target="_blank">One Memorial Drive, Cambridge, MA 02142</a> (Bing) 
    (or <a href="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=One+Memorial+Drive,+Cambridge,+MA+02142&aq=&sll=37.0625,-95.677068&sspn=50.291089,94.570313&vpsrc=0&t=h&ie=UTF8&hq=&hnear=1+Memorial+Dr,+Cambridge,+Massachusetts+02142&z=16" target="_blank">Google Maps</a>)</p>
    <p>
      Admission to this event is free! All costs are covered by @Html.ActionLink("sponsors and individual contributors", "List", "Sponsors").
      @**@ 
      @if (string.IsNullOrWhiteSpace(ViewBag.RegistrationUrl) || (ViewBag.RegistrationUrl == "."))
      {
        <text><br />Check back - attendee registration link will appear when attendee registration opens on February 1, 2013.<br />Tell your friends and colleagues about the event.</text>
      }
      else
      {
        <text>Please <a href="@Model.RegistrationUrl" target="_blank">register soon</a> as seating is limited &mdash; and tell your friends and colleagues about the event.</text>
      }
      
    </p>
